namespace designpatternsplusplus.decorator.DecoratorParticipants
{
    #region

    using System;
    using designpatternsplus.contracts;

    #endregion

    /// <summary>
    /// This is a Key Value Pair with a String Key and Expression for Function Delegate
    /// </summary>
    public sealed class KeyedDelegate :
        AbstractKeyedDelegate<String, IProductService, double>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="KeyedDelegate"/> class.
        /// </summary>
        /// <param name="KeyValue">The key value.</param>
        /// <param name="resolveProduct">The resolve product.</param>
        public KeyedDelegate(string KeyValue, Delegate resolveProduct)
            : base(KeyValue, resolveProduct) {}
    }
}